home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXddddbbbbeeeeSSSSwwwwaaaappppBBBBuuuuffffffffeeeerrrrssss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXddddbbbbeeeeSSSSwwwwaaaappppBBBBuuuuffffffffeeeerrrrssss((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XdbeSwapBuffers - swaps front and back DBE buffers.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <X11/extensions/Xdbe.h>
-
- Status XdbeSwapBuffers(
- Display *dpy,
- XdbeSwapInfo *swap_info,
- int num_windows)
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This function swaps the front and back buffers for a list of
- windows. The argument _n_u_m__w_i_n_d_o_w_s specifies how many
- windows are to have their buffers swapped; it is the number
- of elements in the _s_w_a_p__i_n_f_o array. The argument _s_w_a_p__i_n_f_o
- specifies the information needed per window to do the swap.
-
- The _X_d_b_e_S_w_a_p_I_n_f_o structure has the following fields:
-
- Window swap_window
- XdbeSwapAction swap_action
-
- _s_w_a_p__w_i_n_d_o_w specifies the window for which to swap buffers.
- _s_w_a_p__a_c_t_i_o_n specifies the swap action to use for this
- _s_w_a_p__w_i_n_d_o_w.
-
- _s_w_a_p__a_c_t_i_o_n determines what will happen to the new back
- buffer of the _s_w_a_p__w_i_n_d_o_w it is paired with in the list in
- addition to making the old back buffer become visible. The
- defined actions are as follows:
-
-
- XdbeUndefined
- The contents of the new back buffer become undefined.
- This may be the most efficient action since it allows
- the implementation to discard the contents of the
- buffer if it needs to.
-
- XdbeBackground
- The unobscured region of the new back buffer will be
- tiled with the window background. The background
- action allows devices to use a fast clear capability
- during a swap.
-
- XdbeUntouched
- The unobscured region of the new back buffer will be
- unmodified by the swap.
-
- XdbeCopied
- The unobscured region of the new back buffer will be
- the contents of the old back buffer
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXddddbbbbeeeeSSSSwwwwaaaappppBBBBuuuuffffffffeeeerrrrssss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXddddbbbbeeeeSSSSwwwwaaaappppBBBBuuuuffffffffeeeerrrrssss((((3333XXXX11111111))))
-
-
-
- EEEERRRRRRRROOOORRRRSSSS
- BadMatch
- A non-double-buffered window was specififed or a window
- was specified twice.
-
- BadWindow
- An invalid window was specified.
-
- BadValue
- An invalid swap action was specified.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- DBE, _X_d_b_e_A_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e(), _X_d_b_e_B_e_g_i_n_I_d_i_o_m(),
- _X_d_b_e_D_e_a_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e(), _X_d_b_e_E_n_d_I_d_i_o_m(),
- _X_d_b_e_F_r_e_e_V_i_s_u_a_l_I_n_f_o(), _X_d_b_e_G_e_t_B_a_c_k_B_u_f_f_e_r_A_t_t_r_i_b_u_t_e_s(),
- _X_d_b_e_G_e_t_V_i_s_u_a_l_I_n_f_o(), _X_d_b_e_Q_u_e_r_y_E_x_t_e_n_s_i_o_n().
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-